package Persistence;

import Dominion.Article;

public class NoPersistence {

	/**
	 * @param args
	 * @throws Exception
	 * @author Buggin' & Debuggin' 
	 */
	public static void main(String[] args) throws Exception {
		
		Article a= new Article("Titul", "2012-09-12", "1@autor.com","tachinda", "send", 10);
		Article a1= new Article(8);
//		System.out.println(a.toString());
//		a.setTitle("titulo1");
		CrudDAO<Article> c = new ArticleDAO();
//		c.update(a);
//		System.out.println(c.read(a));
		c.delete(a1);
//		c.create(a);
		
		
	}
}